<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href='${pageContext.request.contextPath}/css/styles.css'> 
   <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
   <script src="${pageContext.request.contextPath}/js/jquery-1.9.1.min.js"></script>
   <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
<div class="divOuterFrame">
	<div class="divInnerFrame">通用问卷调查系统</div>
</div>
<div class="divWhiteLine"></div>

	<ul class="nav nav-pills">
		<li><s:a action="LoginAction_toLoginPage" target="main">首页</s:a></li>
		<li><s:a action="SurveyAction_newSurvey" target="main">新建调查</s:a></li>
		<li><s:a action="SurveyAction_mySurveys" target="main">我的调查</s:a></li>
		<li><s:a action="EngageSurveyAction_findAllAvailableSurvey" namespace="/" target="main">参与调查</s:a></li>
		<li><s:a action="RegAction_toRegPage" target="main">用户注册</s:a></li>
		<li><s:a action="UserAuthorizedAction_findAllUsers" namespace="/" target="main">用户授权管理</s:a></li>
		<li><s:a action="RoleAction_findAllRoles" namespace="/" target="main">角色管理</s:a></li>
		<li><s:a action="RightAction_findAllRights" target="main">权限管理</s:a></li>
		<li><s:a action="LogAction_findAllLogs" target="main">日志管理</s:a></li>
	</ul>

<div class="divWhiteLine"></div>

<script>
	$(function(){
		$("li").each(function(){
			$(this).unbind("click");
			$(this).bind("click",function(){
				$(this).addClass("active").siblings().removeClass("active");
			});
		});
	});
</script>